Tonga faults and oopses on agd5f drm-fixes-4.4
https://bugs.freedesktop.org/show_bug.cgi?id=93079
Bug ID: 93079
Summary: Tonga faults and oopses on agd5f drm-fixes-4.4
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Created attachment 120050
--> https://bugs.freedesktop.org/attachment.cgi?id=120050&action=edit
some backtraces
Haven't tried agd5f drm-fixes-4.4 before today.
It seems that it is unstable on R9 285.
Twice I've been close to submitting a bisect, but false goods have spoilt things.
Varying backtraces attached.
Will try to bisect again but it's not going to be quick.
I am stable on powerplay and was OK on 4.4-next-wip.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=93079
--- Comment #1 from Andy Furniss <[email protected]> --- Created attachment 120051
--> https://bugs.freedesktop.org/attachment.cgi?id=120051&action=edit
dmesg
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
Andy Furniss <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Tonga faults and oopses on |Tonga faults and oopses on
|agd5f drm-fixes-4.4 |agd5f drm-fixes-4.4 since
| |fix incorrect mutex usage
| |v3--- Comment #2 from Andy Furniss <[email protected]> ---
Unless I eventually manage to lock the one before - and I am failing to so far, it looks like this starts with -
commit e284022163716ecf11c37fd1057c35d689ef2c11
Author: Christian König <[email protected]> Date: Thu Nov 5 19:49:48 2015 +0100
drm/amdgpu: fix incorrect mutex usage v3
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
--- Comment #3 from Andy Furniss <[email protected]> --- Seems this is the correct bad.
Ran all day yesterday without issue on the one before.
Booted into kernel set on the "bad" this morning and was locked within 10 minutes browsing.
Slightly different - no Oops, similar trace, rcu_preempt detected stalls on CPUs/tasks.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
--- Comment #4 from Andy Furniss <[email protected]> --- Created attachment 120106
--> https://bugs.freedesktop.org/attachment.cgi?id=120106&action=edit
Another trace
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
--- Comment #5 from Christian König <[email protected]> --- Well the good news first it looks like I can reproduce the issue.
Now the bad news is that I don't have the slightest idea what's causing it.
The patch you mentioned results in different timing around those functions, but I can't see how it should cause something like this.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
Nicolai Hähnle <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #6 from Nicolai Hähnle <[email protected]> --- Created attachment 120274
--> https://bugs.freedesktop.org/attachment.cgi?id=120274&action=edit
0001-drm-amdgpu-fix-race-condition-in-amd_sched_entity_pu.patch
Please try the attached patch. Thanks to Christian for pointing me at this bug (I got lucky by running into a similar but cleaner stack trace...)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
--- Comment #7 from Andy Furniss <[email protected]> --- (In reply to Nicolai Hähnle from comment #6)
Quoted 5 lines
Created attachment 120274 [details] [review] 0001-drm-amdgpu-fix-race-condition-in-amd_sched_entity_pu.patch
Please try the attached patch. Thanks to Christian for pointing me at this bug (I got lucky by running into a similar but cleaner stack trace...)
Seems good so far, I'll stay on this kernel for a few days to be sure.
"Sure" may be a bit strong though, I said above powerplay was OK, but despite being OK on it for several days in the past I managed to hit this bug on it yesterday.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 93079] Tonga faults and oopses on agd5f drm-fixes-4.4 since fix incorrect mutex usage v3
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=93079
Andy Furniss <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #8 from Andy Furniss <[email protected]> --- Still seems good
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel